package cn.edu.djtu.fw.dao;

import java.util.List;

import cn.edu.djtu.fw.model.Message;

public interface MessageMapper {
	int deleteByPrimaryKey(Integer mid);

	int insert(Message message);

	int insertSelective(Message message);

	Message selectByPrimaryKey(Integer mid);

	int updateByPrimaryKeySelective(Message message);

	int updateByPrimaryKey(Message message);

	List<Message> getAllMessage(Message message);
}